package cn.lingyangwl.agile.food.core.assembly;

import cn.lingyangwl.agile.food.model.entity.ShopTable;
import cn.lingyangwl.agile.food.model.rqrs.table.TableResp;
import cn.lingyangwl.agile.food.model.rqrs.table.TableSaveReq;
import cn.lingyangwl.agile.food.model.rqrs.table.TableUpdateReq;
import org.mapstruct.Mapper;

/**
 * 店铺桌台
 *
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface TableAssembly {
  TableResp toTableResp(ShopTable source);
  
  ShopTable toTable(TableSaveReq source);
  
  ShopTable toTable(TableUpdateReq source);
}
